Simplify code [ci skip]