Allow optional callback also in remove.