(wip) Add support for source locations