Adds spec helper to AI class