Added option to get a prop's value