Added has_one :setting association to repository to save repo specific settings.