Renamed tbl -> deftbl and switched ref tbl from obj to name.