Improve the mixins

- [ ] Use the properties instead of mixins.
- [ ] Update the visibility utilities to not use deprecated mixins.