Custom reference type and get/set property