Added Validation to BaseLib.
Validate there is no embedding container for methods that require no embedding container.