Extract locale prototype methods to their own files.