Remove retain() for setRetained(). Fixes #22.