Add new helpers to Rakefile to keep code more DRY