add metadata() method for settings