Remove console dependancy