Remove deprecated methods and properties (<= 5.0) #481.
Remove deprecation <= 5.0 (#481).