Fixed linker error and refined keyView method