add source as a known toplevel object