Basically port Entity/*.