restored generate_pref_attachment() method
added get_entropy() method
new get_stats() and get_modules() methods