Library inspired by Loki.