Add rest adapter