Raise errors during init to aid in debugging.