remove debugging info and allow apps to have a reload() method