changed some method signatures to remove depricated types