Change martini.Static to custom Static function