Fixed missing dependency in can_view