Added encapsulation codes to the database