Remove unused assert() method.