Add accessor marcos to ConstantPlaceHolder, similar to those in the base class.