Removed setItem convenience methods because they could be dangerous in the future. Changed ItemCastException to a RuntimeException.