Improve python library dedicated to object composition