Setup $$parent for basic classes