Source map support. Closes #1