Changed function name, closes issue #1.