Made some function static.