Added field generation in compile time. Feel love to D.