Implement object properties with blocks