Added missing extend statement.