Check that property exists to avoid property not defined errors