Removing unused assert