Added support for tile entities