Fixed Runtime adapter factory