Faux delegate support through inner classes