Add for on github ribbon.
Add direct type query methods and improve doc.