Add a little sugar for defining entities