Fix some exception text, add a better thrown error for inaccessible no-args constructors on modules, remove a redundant test, and rename a provides method.