Implemented Promises

Don't leave a potential error. Pass `undefined` instead.