@staticmethod is the right thing do use.  Fixed with d4b94a8309a7bd708de9ac18450fddc5b50d76f8