Does _api not work in an attributes clause?