Problem with type FreeRV while adding new distribution

Did you ever solve this? Do you have a gist of your code?