@Murtaza I know this is a necro (for which I apologize), however, after years away and a lost account, I've been following your progress again.
I'm having a hard time discerning if "prefabs" are part of the "functions" feature you're discussing here. I know back in the days (which was somehow only 3 years ago; yikes!) there was a big discussion about adding them. This was because run-time cloned objects were a major pain - during the game press to tappa.bl transition - having to manage your own ID system and such.
I'm rambling at this point, so I'll let it be :)