Fix using overload with prototypes by using this instead of object