Better fix for depricated methods in U4.3