Added examples for attr and rebuild