Removed some irrelevant code.