Returns documentation with :as param considering