Definition for AP also added.