[WIP] Generating entities