Added source map writing from AST (source data not implemented though).