Removed useless type check and updated related docs.