Added dimension constraint methods and functions