Entity is used as a metatable