Fix for num trait changes