Added initializers.
Improved logger.