Add method to the prototype