Now casting attributes as well.