An example plugin to hook into EntityAPI