Improved documentation of function decorators