Move unit definitions out of level.js.