Add error message on missing layout argument