Ref: https://git.hyperbola.info:50100/~team/packages/extra.git/commit/?h=throgh&id=ae8e7d0925b110f1cafc436481bb85efc42ade11