Changed return type in controller methods.