Comment command table: use inheritance instead of duplicating code