Fix console functions. Misc.