Changed assertion to allow pickable to be set to null, see #208.