Fixed accidental deletion of a bunch of important code!