Fixed retain cycle
Updated documentation