Self-compartmentalizing proteases