Refactoring: removed duplicated methods with the same functionality but different signature.