Better error message to avoid confusion. Use base_class instead of class when decorating a record soo STI are decorated against their shared object name