Generic source map generation.