Added overlay as a class instead.