Added library traps.