to_hash method may not be necessary.