Genericize yap view extension loading