Replace `self` by `static` keyword