Contains fix for bug 3427

replaces method and deprecates the old one to keep compatibility