Working on standard API for middleware compnents