Use defineProperty to port methods