Load function statically