Adding ofDraw to beginning of static function calls