Added support for tags in the backend.