Fix build, change function from priv. to pub.