Refactored this context of the prototype