Make transient attributes available in callbacks

[fixes #143]