Fix exposed function