We should write unit tests for that.