Removed runViewCode() method