Finished documentation for base.rb