Promise/A+ compatibility