Changed interfaces to use paranoia.