Fixing functions called statically to be declared as such