Added intent and measurement, also docs updates.