Add factory method to create money.