Use library as composer type