Cleanup exported functions