fixed static methods

I wasn't using static methods correctly, and didn't notice because
ipython didn't recompile after changes. To avoid use:
%load_ext autoreload
%autoreload 2