set _kwargs to static method