Added implicit casting.