Resolves class loading problem introduced by swagger