I improved controller decorators and base controller so that doc is generated correctly.