Add register.parse() to samples that use <d-linear-layout>