Where is the Generic attach function located?