Updated the library to work exclusively with EF.