Fixed Publishfrom method.