Rogue: clean up warnings (add type signatures, avoid overlapping names)