Removes unused method in assert extension