Fix ASLBuilder::AddFunction