Refs https://github.com/eelkevdbos/library/commit/1c788cc212963e14cd77a4297bc3e9f88f4ebb3a