Attach framework sources
Fix enum lookup. Fixes #5