Fix call to #development? in #encode