Removing unnecessary `require 'java'`