Accept more source location formats.