Import of A4 version that runs on onyx.