Attempt to make object oriented.