Initial support for assemblies.  Model and api.