Fixed methods that call outdated tile.type method