Added the warning message for lab objects. Improved comments.