Added documentation to decorator.