Message related APIs implemented