Apply `branches` changes suggested by @calebthompson in #1