Improved styles ; Defines custom adapters