Minor comment, regarding the other parts of the code
'v%d' % (apiVersion,) seems more appropriate