WIP; finally get nimspfile working.