Handle classes passed in