Added getters and setters for bucketKey

Reference to #2