Support mapping of indexes on materialized views. Fixes #82.