Fixed accidentally making functions private