Implement overloads to obtain the context in From and To
Add null checking for entity mapping