Implement support for @EventPredicate
Apply @EventPredicate to Plugin.isEnabled() + minor fix