Removing some unnecessary trait bounds.