Changed visibilty of public api