Added wrapper class for stp_type