Send method to class name instead of ‘self’

This avoids potential compiler errors where multiple methods with same signature but different parameter/result types.