Do we need to declare that this might throw an IllegalStateException?