Lightweight prototype extend library