Fixes canAwait, added some php docs

Close #51