AVOptions API with documentation and tests