Added feature which makes array single-dimensional when only one tag is used.