Modifying app framework calls to match new function signature