These decorators are only meant for methods. The decorators are static methods of RequireFile which really only serves as a namespace for them. self is used internally the decorators. Maybe these decorators should instead live in rootpy.decorators?