Use `proc` over `->` to prevent syntax errors on old rubies