API: Remove unneeded parens and len() call.