Factoring views