Refactor due to Gemfile error.