Throwing when "hasSchema" is passed falsely.