Added support for properties files and messages (similar to ResourceBundle).