Adding source map support - mostly untested right now.