Added functionality to reset properties