Throw exception in global namespace; fixes #14