- Improved initialization.
- Fixed buffer initialization check.