Adding deploy method.