Made the @Type annotation allowed on methods.