Remove the Function::getFnAttributes method in favor of using the AttributeSet