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

This will prevent accidental usage on controller method.