Removing redundant stuffs.