Re-added functionality for protected controller functions.