Major refactor of the specification file parsing system.