Setting default values to method properties.