Implemented props= method