More documentation on measures and higher-level interface