Extract `Sheaf` object to top level.

Closes #380.