Added function name to Doppelganger constructor