Add sub class functionality.