Remove inused code