LPS-48313 Remove autogenerated elements that do not apply for OSGi