Remove class method `#exec`
Rename methods to `#to_hash`

It's more ruby like.