BUG-865: removed use of deprecated parseToClassName method.

Signed-off-by: Martin Vitez <mvitez@cisco.com>
Merge "BUG-865: removed use of deprecated parseToClassName method."