Implements generic Repository::save() method.