Add some missing accessors related to constraints.