Skeleton for function to handle PM repies.