Extended the already modified methods
Class prototype