Added tiles 3 support.