add inline documentation to base controller