Added full compatibility for a discard pile