Made errors for working outside of contexts clearer.