Adds ApiVisibility, ApiGridVisibility and ApiDetailVisibility.