Added method to object as well which refers to method on class