Minor improvements related to "isKindOfClass" method usage for input params validating.