Cleaned up the dominion code.