Add Apply instance of Const and rearrange instances in an inheritance hierarchy