Refactoring: renamed all contains_*() methods to contains() in C++