Adding optional repository definitions.