Add some docs for newly exported functions