How to protect user library elements?