Split getProp() back into getPropOpt() and getPropReq(), the latter accepting a default value.