def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def poll(cls, context):
        userpref = context.user_preferences
        return (userpref.active_section == 'INPUT')