Added some documentation to base.rb, updating docs.