Decorator takes a function argument.