Replacing method that was removed during refactoring in 3260278b4633cf93