Removing unnecessary class instance.