2D materials towards ultrafast photonic applications.