The check for name in beforeValidate() now uses !name instead of name != null
Version 1.0.2