Removed cosole.log debugs.