add @classmethod annotation to plugin stub