If a hash is passed in to the initialize metjhod it can now return a hash through the to_h method.