Cache the construction of command properties.