Add InvalidAccess exception and update docs.