first attempt at static and class method support. not working.