Add more helpful error messages, in true Python style.