Make fn pub for windows compatibility