Only allow Sub decorator on methods.