Archives work now on darwin. dylibs are next. Plus a bit of procedural abstraction.