Cleanup some mess with types in LineEdit.jl