changes for using consumes interface in plugins