Add general typmod support