Attr now doesn't serialize functions #216

Fix issue #216