Copy some structure from lein-bin