Change args to a Hash

For the sake of convenience.