Added setFetchMode method to Capsule.
Merge branch '4.0'