Added view restriction feature.