library.setProperty( Module.THEME_PROP, new ElementRefValue( null, theme ) );
library.setTheme( theme );
	public Library createLibrary( )	{		Library library = new Library( this );		Theme theme = new Theme( ModelMessages				.getMessage( Theme.DEFAULT_THEME_NAME ) );		library.setProperty( Module.THEME_PROP, new ElementRefValue( null,				theme ) );		ModelUtil.insertCompatibleThemeToLibrary( library, theme );		// set initial id.		theme.setID( library.getNextID( ) );		library.addElementID( theme );		library.setValid( true );		libraries.add( library );		return library;	}