Added support for produces attribute