fix: staticmethods work; perf improvements