Made view/shared_view dependant on the Kind type instead of being named table_{shared_}view