Replaced with internal function.