Added support for implementing Add resource.