Make Rep invariant
Style changes