A framework that kills two birds with one stone...