Rename Repository#get => Repository#[]
Rename Repository#register => Repository#[]=