directory: convert to UMD-like module, !buggy