Remove res.destroy and move read code to static method