Added some syntactic sugar on setting up properties