Adding support for dynmically loaded views