Better error messaging.