Add function to manage LSHandlers