Add some prep for Sage 5.7 and Stan.