remove functions that were only used in S-Plus