Predicate the bucket properties features on version detection.
Apply some PEP8 and pyflakes fixes.