Documentation/deprecation changes and more verbose error messages