Proc.allocate raises a TypeError