adding specializations for primitive libs