Use WicketObjects#resolveClass here.