Removing the necessary parts.