Optimized object construction.