Class methods are persisted as well.