Add static flag to some method functions