Added check if required plugin fields are defined