New deploy method.