Stripped unnecessary code.