Add callback to bucket open
require key param