Make Retain, Release and Autorelease public. Fixes #1086.