Made Config classes immutable