Fix typo in api.pm