Basic bucket implementation.