Adding more helpful error statements.