Refactored provisioners into functions.