Java to Kotlin converter: minor code corrections after review
Java to Kotlin converter: checking that no element prototype assignment forgotten + no memory leaks through singleton Element instances