Changed Intent initialization.