Fixed issue related to replacing : with _ and vice versa in method names