Multiple constraints can be used. Fixes #21.