removing redundant stubs