Enable views hook for all methods. This fixes issue #2315.
Merge pull request #2411 from zand3rs/master

Enable views hook for all methods. This fixes issue #2315.