Add console functions