Added support for empty world generation.