Fixed removing self argument in staticmethod.