Mark some static functions as pure