Add a way to compile a folder into a package. Make synchronous rendering work with multiple layers of inheritance.