Added support for generating source maps