removing deprecated for default constructor created to CDI only