Adding code pieces to the library files