Allow layout declarations with custom attributes