Clean up attr-bans code