Adding support for custom constraint regions