Added 'getErrorMessages' to LModel