Add getOwner() and fix type of getBucket()