Stop depending on locale, add forbidden-apis check.