Fixed visibility of function.