Added function exports to module definitions