Alpha type and minor changes in logging functions.