Implementing library layer.