[Diagnostics/Debug] Refactored the Class Property class to make the visibility and parent object available.