Fixed errors with RegisterAPIMethodOverload