Adding support for initialize API call.