[Cleanup] Enable assertions in release builds
[Refactor] Avoid type-punning