Right. The docs return object so RaphaelElement or any is probably the way to go.