Sanity check for get/set