Removed .def file and simplified use