I think these should be TypeErrors