Better attributtes handling.