Support saving manually created entities.