Fixed a typo in 'Base.sample'