Added doc to contents file, fixed an error.