Add support for multiple branches