Nit: removed console logs.