Allow to inherits from Money

Hi,

I had various issues when creating classes which inherits from `Money.

Hopefully, this commit fixes those issues.

Cheers,