Fix(compatibility): Added backward compatibility for older sails.io