Function attributes cleanup; fix EFX attributes (index was not passed to...

... Function::adjustAttribute)