Add documentation on data functions