Restrict abstract API inheritance.