Changed one function from private to public