Requires compatible version of AMS