It's a bad idea to parse BigDecimal from String right here. It's not implementations business to convert one types to another. Should be fixed!