Extract class for extention.