First attempt to rewamp embedded object generation. Not functional yet.