Created the HasConfig trait