Handle stack policies, and sanity check Stack#create and Stack#update