Add support for ACF Version 5

Not fully tested, but I needed this for a project I'm working on and it appears to work great.