Removed duplicate Repository type def