Updated implementation of adding an internal call.