Implement get/set magic.