Use require_relative where possible. Removed Regexp extensions.