A way around working with several repetitive classes.