Modified samples to refer libraries in packages