Basic wrapper for constraint