Miscellaneous data functions.