Removing unused declared attributes