Add support for autofocus