Autorelease self and return nil instead of setting self to nil.
Merge branch 'master' into imageRep