Removed attach statements.