Auto get $allowMethod