Extensions to the foreman API.