MID-1730 - CapabilityEditor small code cleanup.