Added hash shortcuts

Added shortcuts for adding a hash field, getting a hash field and
removing a hash field.