Refactoring finished.
Added check meta information in lazy_ptr.