Fix the Haddock.
Fix exports.
Add substitution for attributes as well.
Don't escape values from context.