added views api hooks to modules