Tweaking library API