Add middleware libraries