Removing text stubs from compilation