Added metadata api call.