Fixed group instantiation in the stored functions interface