Fix console methods invocation.