Changes references to :type to :as in docs

This commit should fix the docs so users know to use ':as =>' instead of ':type =>'