Only import module/file once.
Fixed some method call generation for base Object type.