The present disclosure relates to a device that includes an active layer and a first charge transport layer, where the first charge transport layer includes a first layer and a second layer, the first layer is in contact with the second layer, the second layer is positioned between the first layer and the active layer, the first layer comprises a first carbon nanostructure, and the second layer includes a second carbon nanostructure.