Refactor Resources::Base#run.