Try and replace crazy runtime evaling with maps