Added printResolved() to support promises