Unfortunately this won't compile with Scala 2.8 and 2.9 since `MacroExpansionAttachment` appeared in 2.10.