Add a flag to office indicating whether or not it is top-level

Resolves #71