Restrict usage of the ResourceAttribute to classes only since it is only found via HandlerType