Reduce complexity.

Signed-off-by: crynobone <crynobone@gmail.com>
Remove unrelevant use.

Signed-off-by: crynobone <crynobone@gmail.com>