Added implicit conversion functions.