[FIX] Updated code for programmatically creating entities tutorial.