Import code from LayerKit