Simplifying deployment code