Removed inused code.