Made configuration type-safe