Use require_relative to prevent encoding.rb from being loaded twice