Move params to attributes
Rename preferences resource to master_preferences