Release v1.0.4

Optimizations.