Added missing trait bounds.