Thanks, wrapped the if/else's in ```{ }```.

We are overriding the super class. The type checker will not catch giving it just an actual Partition, so I'm just deferring that to the base class which can implement it however it wants. Say it wants to throw an exception or something in the future.