Changing local config site to error on functions missing a return statement