Added additional features to EnhancedMethod.