Move retain/autorelease to the getter
Simplify if() statement