FIXME for lightbox problems with custom classes. Also removed some imports.