Implement custom complex type
Use type R
Rename