Added the option to get an objects property