Common functions for system deployment.