Setting default values of attributes