Fixed incorrect call to Promise.Success, added Success<T>