Added legacy helper function.