Fixing branch generation.