you might even make it more readable by using constants. Since you are using these 'magic' values the Hive also, it might make sense to import these constants from a shared library? (something like beeswarm/shared/vnc_defines.py