Fixed class name resolution via ::class (#143,#129)