Fix incorrect method def in Python3
Minor fix to indent.
Fix issue #3. Group PK should be hexstring.