Committed some changes to the rep system.