Added defintion of a key constraint