Adding new method dynamically.