Update class with API

Need this change: https://github.com/JavaMoney/jsr354-api/pull/35/files