Fixes #5213: Add class_noop generic_method