REV: Override function __init__ to init class.