Remove centerConstraintType from API

Fixes #2517