Removed the code from SchemaCreation to avoid scoping issue.