Simplify explicit typing for assignments