Add class constant asserter.