Removed unnecessary optimizer.