Modified Post and Thread classes.