Some minor cleaning up [ci skip].
Some work towards exporting a CellML file to some user format (#312).