adding .library() method

@yields