Replace *::class with fully qualified string class names