Change type from request to controller