Adding intent to methods parameters.