Enable recommended warnings.
Fix retain cycles.
Merge pull request #2 from JayZhao/master

Fix retain cycles.