Updating docblock and improving the isValidBucketName method. Closes #172.