Renames mapPhrase contraint to HasEvents

Closes #60