Add promise-as3 and P implementations.