Using generics
Re-enabling fancybox